pull: use same name for parameter and documentation comment
authorGiuseppe Scrivano <gscrivan@redhat.com>
Fri, 26 Aug 2016 15:35:17 +0000 (17:35 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sat, 27 Aug 2016 12:40:46 +0000 (12:40 +0000)
Fixes this warning:

src/libostree/ostree-repo-pull.c:2162: Warning: OSTree: ostree_repo_pull_with_options: unknown parameter 'remote_name_or_baseurl' in documentation comment, should be 'remote_name'

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #472
Approved by: jlebon

src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo.h

index 066233be4c7a9e09e62ddcda5c1eb5f6a2e2466c..604e825411697c11cde7e32324a01a4181775749 100644 (file)
@@ -3005,7 +3005,7 @@ out:
 
 gboolean
 ostree_repo_pull_with_options (OstreeRepo             *self,
-                               const char             *remote_name,
+                               const char             *remote_name_or_baseurl,
                                GVariant               *options,
                                OstreeAsyncProgress    *progress,
                                GCancellable           *cancellable,
index 5547473acaecc00646d1ef653f33962023d0013f..f1f9da416cef3133f85ea7ad23954a6ea5af0a39 100644 (file)
@@ -1006,7 +1006,7 @@ ostree_repo_pull_one_dir (OstreeRepo               *self,
 
 _OSTREE_PUBLIC
 gboolean ostree_repo_pull_with_options (OstreeRepo             *self,
-                                        const char             *remote_name,
+                                        const char             *remote_name_or_baseurl,
                                         GVariant               *options,
                                         OstreeAsyncProgress    *progress,
                                         GCancellable           *cancellable,